package com.learn.spring.observer.order;

import com.learn.spring.observer.message.PlaceOrderMessage;
import lombok.extern.slf4j.Slf4j;

/**
 * 日志记录观察者
 *
 * @author cong zhi
 * @email 448341911@qq.com
 * @createDate 2023/3/20 16:38
 * @version: v1.0
 */
@Slf4j
public class OrderLogObserver implements OrderObserver {
    @Override
    public void afterPlaceOrder(PlaceOrderMessage placeOrderMessage) {
        log.info("[afterPlaceOrder] log.");
    }
}
